package com.esiag.isidis.beans;

import com.esiag.isidis.enums.TypeTrame;


public class DefaultTrameInfo extends TrameInfo {
	static final int DEFAULT_SIZE = 2;
	static final TypeTrame DEFAULT_TYPE = TypeTrame.UDP;
	private static DefaultTrameInfo instance = null;

	public DefaultTrameInfo() {
		super(DEFAULT_SIZE, DEFAULT_TYPE);
	}
	
	public static TrameInfo getDefaultTrameInfo(){
		if(instance == null)
			instance = new DefaultTrameInfo();
		return instance;
	}
}
